package lab02.test11;

public class Test11 {
    public static void main(String[] args) {
        Rectangle rectangle = new Rectangle();
        Square square = new Square();
        rectangle.length = 9;
        rectangle.wide = 8;
        square.wide = 4;
        square.length = 4;

        System.out.println(rectangle.printMyWay());
        System.out.println(square.printMyWay());
    }
}
